from urllib import parse

key_word = "博雅德园"

print(parse.quote(key_word))

'''
%E5%8D%9A%E9%9B%85%E5%BE%B7%E5%9B%AD
'''